package cn.mall.framework.common;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Param {
	String key() default "";
	String name() default "";
	boolean required() default false;
	boolean persistence() default false;
	String format() default "";
	String description() default "";
	int length() default -1;
	int minLength() default -1;
	int maxLength() default -1;
	String index() default "0";
}
